package main

import (
    "fmt"
    "math/rand"
    "time"
)

// Outputs (pseudo) random number between min and max using math/rand
func randomNumber(min, max int) int {
    return min + rand.Intn(max-min)
}

func main() {
    rand.Seed(time.Now().UnixNano())
    for i := 0; i < 10; i++ {
    	fmt.Println(randomNumber(1, 6))
    }
}
